import {MapCreateOption} from "./models/map-create-option";
import {MapApi} from "../../model/map/MapApi";

export interface IMapCreator {

    //地图api key
    apiKey:string;

    //加载地图api脚本
    loadScript();

    //创建地图
    createMap(option:MapCreateOption);

    //处理地图初始化完成后的定位方式
    getLocation(option: MapCreateOption,mapApi:MapApi,center:any);

}
